
<?php

//$token_url = 'https://graph.facebook.com/oauth/access_token?client_id=' .
//        APP_ID . '&redirect_uri=' . urlencode(CALLBACK) . '&client_secret=' .
//        APP_SECRET . '&code=' . $code;

class Setting {

    const APP_ID = '257067427751445';
    const APP_SECRET = '2be11ad4648270002d369de1818edd9d';
    const ACCESS_TOKEN = '257067427751445|_Q-XbVWOqe422Uv2cVtG8Py5StI';
    const CLAABACK_URL = './callback.php';

    private $licence;

    function __construct() {

        $this->licence = array(
            'appId' => Setting::APP_ID,
            'secret' => Setting::APP_SECRET,
            'access_token' => Setting::ACCESS_TOKEN,
            'redirect_uri' => Setting::CLAABACK_URL,
            'cookie' => FALSE
        );
    }

    public function getLicence() {
        return $this->licence;
    }

}
?>
